﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace Models
{
    ///<summary>
    ///产品锁定实体
    ///</summary>
    [SugarTable("PRODUCTLOCKMODEL")]
    public partial class PRODUCTLOCKMODEL
    {
           public PRODUCTLOCKMODEL(){


           }
           /// <summary>
           /// Desc:产品锁定id
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public long PRODUCTLOCKID {get;set;}

           /// <summary>
           /// Desc:编码
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string PRODUCTLOCKCODE {get;set;}

           /// <summary>
           /// Desc:产品锁定类型
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string PRODUCTLOCKTYPE {get;set;}

           /// <summary>
           /// Desc:产品锁定工序（外键）
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string PRODUCTLOCKPRODUCTION {get;set;}

           /// <summary>
           /// Desc:开始时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? PRODUCTLOCKBEGINTIME {get;set;}

           /// <summary>
           /// Desc:结束时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? PRODUCTLOCKENDTIME {get;set;}

           /// <summary>
           /// Desc:创建人
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CREATEUSERNAME {get;set;}

           /// <summary>
           /// Desc:锁定原因
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string LOCKINGREASON {get;set;}

           /// <summary>
           /// Desc:修改人
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string UPDATEUSERNAME {get;set;}

           /// <summary>
           /// Desc:创建时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? CREATETIME {get;set;}

           /// <summary>
           /// Desc:更新时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? UPDATETIME {get;set;}

           /// <summary>
           /// Desc:软删除
           /// Default:
           /// Nullable:False
           /// </summary>           
           public bool ISDELETED {get;set;}

    }
}
